---
title: "Auth0 Authentication"
---

<Tip>This feature is a part of Keep Enterprise. Talk to us to get access: https://www.keephq.dev/meet-keep</Tip>

Keep supports multi-tenant environments through Auth0, enabling separate tenants to operate independently within the same Keep platform.

<Frame>
  <img src="/images/auth0auth.png" width="500"/>
</Frame>

### When to Use

- **Already using Auth0:** If you are already using Auth0 in your organization, you can leverage it as Keep authentication provider.
- **SSO/SAML:** Auth0 supports various Single Sign-On (SSO) and SAML protocols, allowing you to integrate Keep with your existing identity management systems.

### Setup Instructions

To start Keep with Auth0 authentication, set the following environment variables:

#### Frontend Environment Variables

| Environment Variable | Description | Required | Default Value |
|--------------------|-----------|:--------:|:-------------:|
| AUTH_TYPE | Set to 'AUTH0' for Auth0 authentication | Yes | - |
| AUTH0_DOMAIN | Your Auth0 domain | Yes | - |
| AUTH0_CLIENT_ID | Your Auth0 client ID | Yes | - |
| AUTH0_CLIENT_SECRET | Your Auth0 client secret | Yes | - |
| AUTH0_ISSUER | Your Auth0 API issuer | Yes | - |

#### Backend Environment Variables

| Environment Variable | Description | Required | Default Value |
|--------------------|-----------|:--------:|:-------------:|
| AUTH_TYPE | Set to 'AUTH0' for Auth0 authentication | Yes | - |
| AUTH0_MANAGEMENT_DOMAIN | Your Auth0 management domain | Yes | - |
| AUTH0_CLIENT_ID | Your Auth0 client ID | Yes | - |
| AUTH0_CLIENT_SECRET | Your Auth0 client secret | Yes | - |
| AUTH0_AUDIENCE | Your Auth0 API audience | Yes | - |

### Example configuration

Use the `docker-compose-with-auth0.yml` for an easy setup, which includes necessary environment variables for enabling Auth0 authentication.
